package cn.wolfcode.p2p.business.domain;

import cn.wolfcode.p2p.base.domain.BaseDomain;
import cn.wolfcode.p2p.base.domain.LoginInfo;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 投标记录
 */
@Getter
@Setter
public class Bid extends BaseDomain {
    //利率
    private BigDecimal actualRate;
    //投标金额
    private BigDecimal availableAmount;
    //借款信息的id
    private Long bidRequestId;
    //标的名称
    private String bidRequestTitle;
    //投标人
    private LoginInfo bidUser;
    //投标时间
    private Date bidTime;
    //投标状态,应该和借款的状态同步
    private Integer bidRequestState;
}
